package com.example.jh352160.surfingtv.network.item;

import java.util.List;

/**
 * Created by jh352160 on 2016/8/8
 */

public class LoginItem {

    /**
     * code : 200
     * message : OK
     * data : {"token":"3KwXyt%2BuC4no%2B9Ung0Oi29BuY0Z83EtsPavrPHN2TRr3X%2Bjul5CmnPE1gt9vWuE21dYZanVGefNP3RBxoXAMbojzPCNFfjC6Rl4G2cbAGIDuskvEvGo63Q8cPHiQ1WznV8VnYpFDxA6muAZRKESJrQ%3D%3D","profile":{"displayOrder":0,"status":"NORMAL","createBy":0,"createTime":1459249907000,"updateBy":11373,"updateTime":1469692106000,"version":0,"lastUpdate":1469692106000,"userId":11373,"companyId":0,"userType":12,"username":"QQ-5DD96E55D05E49EAD64AC96482BEFE1F","password":"***","passwordStatus":0,"nickname":"少年","photo":"/11373/20160728/0a5b2609-15c4-4dd3-b81f-4ec480f24c04/","name":"姓名","gender":1,"birthday":1388505600000,"cellphone":"15068722769","tel":"固话","email":"邮件","hidden":0,"userStatus":"NORMAL","permissions":[],"roleIds":null,"age":2}}
     */

    private String code;
    private String message;
    /**
     * token : 3KwXyt%2BuC4no%2B9Ung0Oi29BuY0Z83EtsPavrPHN2TRr3X%2Bjul5CmnPE1gt9vWuE21dYZanVGefNP3RBxoXAMbojzPCNFfjC6Rl4G2cbAGIDuskvEvGo63Q8cPHiQ1WznV8VnYpFDxA6muAZRKESJrQ%3D%3D
     * profile : {"displayOrder":0,"status":"NORMAL","createBy":0,"createTime":1459249907000,"updateBy":11373,"updateTime":1469692106000,"version":0,"lastUpdate":1469692106000,"userId":11373,"companyId":0,"userType":12,"username":"QQ-5DD96E55D05E49EAD64AC96482BEFE1F","password":"***","passwordStatus":0,"nickname":"少年","photo":"/11373/20160728/0a5b2609-15c4-4dd3-b81f-4ec480f24c04/","name":"姓名","gender":1,"birthday":1388505600000,"cellphone":"15068722769","tel":"固话","email":"邮件","hidden":0,"userStatus":"NORMAL","permissions":[],"roleIds":null,"age":2}
     */

    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private String token;
        /**
         * displayOrder : 0
         * status : NORMAL
         * createBy : 0
         * createTime : 1459249907000
         * updateBy : 11373
         * updateTime : 1469692106000
         * version : 0
         * lastUpdate : 1469692106000
         * userId : 11373
         * companyId : 0
         * userType : 12
         * username : QQ-5DD96E55D05E49EAD64AC96482BEFE1F
         * password : ***
         * passwordStatus : 0
         * nickname : 少年
         * photo : /11373/20160728/0a5b2609-15c4-4dd3-b81f-4ec480f24c04/
         * name : 姓名
         * gender : 1
         * birthday : 1388505600000
         * cellphone : 15068722769
         * tel : 固话
         * email : 邮件
         * hidden : 0
         * userStatus : NORMAL
         * permissions : []
         * roleIds : null
         * age : 2
         */

        private ProfileBean profile;

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public ProfileBean getProfile() {
            return profile;
        }

        public void setProfile(ProfileBean profile) {
            this.profile = profile;
        }

        public static class ProfileBean {
            private int displayOrder;
            private String status;
            private int createBy;
            private long createTime;
            private int updateBy;
            private long updateTime;
            private int version;
            private long lastUpdate;
            private int userId;
            private int companyId;
            private int userType;
            private String username;
            private String password;
            private int passwordStatus;
            private String nickname;
            private String photo;
            private String name;
            private int gender;
            private long birthday;
            private String cellphone;
            private String tel;
            private String email;
            private int hidden;
            private String userStatus;
            private Object roleIds;
            private int age;
            private List<?> permissions;

            public int getDisplayOrder() {
                return displayOrder;
            }

            public void setDisplayOrder(int displayOrder) {
                this.displayOrder = displayOrder;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public int getCreateBy() {
                return createBy;
            }

            public void setCreateBy(int createBy) {
                this.createBy = createBy;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public int getUpdateBy() {
                return updateBy;
            }

            public void setUpdateBy(int updateBy) {
                this.updateBy = updateBy;
            }

            public long getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(long updateTime) {
                this.updateTime = updateTime;
            }

            public int getVersion() {
                return version;
            }

            public void setVersion(int version) {
                this.version = version;
            }

            public long getLastUpdate() {
                return lastUpdate;
            }

            public void setLastUpdate(long lastUpdate) {
                this.lastUpdate = lastUpdate;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public int getCompanyId() {
                return companyId;
            }

            public void setCompanyId(int companyId) {
                this.companyId = companyId;
            }

            public int getUserType() {
                return userType;
            }

            public void setUserType(int userType) {
                this.userType = userType;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getPassword() {
                return password;
            }

            public void setPassword(String password) {
                this.password = password;
            }

            public int getPasswordStatus() {
                return passwordStatus;
            }

            public void setPasswordStatus(int passwordStatus) {
                this.passwordStatus = passwordStatus;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getGender() {
                return gender;
            }

            public void setGender(int gender) {
                this.gender = gender;
            }

            public long getBirthday() {
                return birthday;
            }

            public void setBirthday(long birthday) {
                this.birthday = birthday;
            }

            public String getCellphone() {
                return cellphone;
            }

            public void setCellphone(String cellphone) {
                this.cellphone = cellphone;
            }

            public String getTel() {
                return tel;
            }

            public void setTel(String tel) {
                this.tel = tel;
            }

            public String getEmail() {
                return email;
            }

            public void setEmail(String email) {
                this.email = email;
            }

            public int getHidden() {
                return hidden;
            }

            public void setHidden(int hidden) {
                this.hidden = hidden;
            }

            public String getUserStatus() {
                return userStatus;
            }

            public void setUserStatus(String userStatus) {
                this.userStatus = userStatus;
            }

            public Object getRoleIds() {
                return roleIds;
            }

            public void setRoleIds(Object roleIds) {
                this.roleIds = roleIds;
            }

            public int getAge() {
                return age;
            }

            public void setAge(int age) {
                this.age = age;
            }

            public List<?> getPermissions() {
                return permissions;
            }

            public void setPermissions(List<?> permissions) {
                this.permissions = permissions;
            }
        }
    }
}
